home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
.net (Turkey) 1998 March
/
.net Internet Dergisi - CD 5.iso
/
pc
/
CON_BM
/
00282_Script_282
< prev
next >
Wrap
Text File
|
1997-11-07
|
6KB
|
227 lines
on Launch param1
global gPlatform, gPathSep, gCDDrive
set ProgramtoLaunch = param1
-- PC Launch
if the Machinetype = 256 then
put "pc" into firstDirectory
case (ProgramtoLaunch) of
-- QT
"QT":
if gPlatform = "Windows,32" then
put "qt32inst.exe" into FileName
else if gPlatform = "Windows,16" then
put "qtinstal.EXE" into FileName
end if
-- Internet browsers and Essentials
"IE3":
if gPlatform = "Windows,32" then
put "msie301.exe" into FileName
else if gPlatform = "Windows,16" then
put "setup.exe.exe" into FileName
end if
"swave":
if gPlatform = "Windows,32" then
put "shockw95.exe" into FileName
else if gPlatform = "Windows,16" then
put "shockw31.exe" into FileName
end if
"catz":
if gPlatform = "Windows,32" then
put "setup.exe" into FileName
else if gPlatform = "Windows,16" then
put "setup.exe" into FileName
end if
"aol":
put "setup.exe" into FileName
"webex":
if gPlatform = "Windows,32" then
put "trywebx2.exe" into FileName
else if gPlatform = "Windows,16" then
put "tryweb2x.exe" into FileName
end if
"webedit":
if gPlatform = "Windows,32" then
put "setup.exe" into FileName
else if gPlatform = "Windows,16" then
put "setup16.exe" into FileName
exit
end if
"free":
if gPlatform = "Windows,32" then
put "fa32-111.exe" into FileName
else if gPlatform = "Windows,16" then
put "fa16-111.exe" into FileName
exit
end if
"flash":
if gPlatform = "Windows,32" then
put "setup.exe" into FileName
else if gPlatform = "Windows,16" then
NoSuchProgram
exit
end if
-- Movies Section
"dogz":
if gPlatform = "Windows,32" then
put "dogz.exe" into FileName
else if gPlatform = "Windows,16" then
put "dogz.exe" into FileName
exit
end if
-- Music Section
"qm":
if gPlatform = "Windows,32" then
put "setup.exe" into FileName
else if gPlatform = "Windows,16" then
put "setup.exe" into FileName
exit
end if
"ballz":
if gPlatform = "Windows,32" then
put "setup.exe" into FileName
else if gPlatform = "Windows,16" then
put "setup.exe" into FileName
exit
end if
-- Games
"alife":
if gPlatform = "Windows,32" then
put "altss6eb.exe" into FileName
else if gPlatform = "Windows,16" then
NoSuchProgram
exit
end if
"qrally":
if gPlatform = "Windows,32" then
put "qrally.exe" into FileName
else if gPlatform = "Windows,16" then
put "qrally.exe" into FileName
exit
end if
end case
end if
-- Mac launch
if the Machinetype <> 256 then
-- if gPlatform = "Macintosh,PowerPC" then
-- put "powerpc" into firstDirectory
-- else
put "mac" into firstDirectory
-- end if
case (ProgramtoLaunch) of
-- QT
"QT":
put "disk1:installer" into FileName
-- Games
"dogz":
if gPlatform = "Macintosh,PowerPC" then
put "dogz installer" into FileName
else if gPlatform = "Macintosh,68k" then
put "dogz installer" into FileName
end if
"chick":
if gPlatform = "Macintosh,PowerPC" then
put "chick" into FileName
else if gPlatform = "Macintosh,68k" then
put "chick" into FileName
end if
"quake":
if gPlatform = "Macintosh,PowerPC" then
put "quake" into FileName
else if gPlatform = "Macintosh,68k" then
put "quake" into FileName
end if
-- Movies Section
"catz":
if gPlatform = "Macintosh,PowerPC" then
put "catz" into FileName
else if gPlatform = "Macintosh,68k" then
put "catz" into FileName
end if
-- Internet browsers and Essentials
"IE3":
if gPlatform = "Macintosh,PowerPC" then
put "ie3ppc.ins" into FileName
else if gPlatform = "Macintosh,68k" then
put "ie368k.ins" into FileName
end if
"swave":
if gPlatform = "Macintosh,PowerPC" then
put "shock(ppc)" into FileName
else if gPlatform = "Macintosh,68k" then
put "shock(68)" into FileName
end if
"raudio":
if gPlatform = "Macintosh,PowerPC" then
put "real(ppc)" into FileName
else if gPlatform = "Macintosh,68k" then
put "raud68" into FileName
end if
"flash":
if gPlatform = "Macintosh,PowerPC" then
put "flash2ppc" into FileName
else if gPlatform = "Macintosh,68k" then
put "flash268k" into FileName
end if
"qm":
if gPlatform = "Macintosh,PowerPC" then
put "quick" into filename
else if gPlatform = "Macintosh,68k" then
put "quick" into filename
end if
end case
end if
alert "The Platform: " & gPlatform & numtochar(13) & numtochar(13) & "Path Separator: " & gPathSep & numtochar(13) & "CDDrive: " & gCDDrive & numtochar(13) & "program to launch: " & ProgramtoLaunch & numtochar(13) & "filename " & FileName
alert "Launching: " & gCDDrive & firstDirectory & gpathsep & ProgramtoLaunch & gpathsep & FileName
-- launching program bit
open gCDDrive & firstDirectory & gpathsep & ProgramtoLaunch & gpathsep & FileName
-- exit
end launch